#include "point.h"

vector3 Point::doGetSupport(const vector3&) const
{
    return pt;
}

Point::Point() : pt("0 0 0") {}

Point::Point(scalar x, scalar y) : pt("0 0 0")
{
    position(x, y);
}

const vector3& Point::position() const
{
    return pt;
}

void Point::position(scalar x, scalar y)
{
    pt[0] = x;
    pt[1] = y;
}
